package com.htudata.transctLive.pojo.entity;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
@Data
public class TransctLink implements Serializable {
  private static final long serialVersionUID = 3741591321012700135L;
  
  private String linkId;
  
  private String xy;
  
  private String begin;
  
  private String end;
  
  private String flowId;
  
  private String uid;
  
  private LocalDateTime createTime;
  
  private LocalDateTime updateTime;

  public boolean equals(Object o) {
    if (o == this)
      return true; 
    if (!(o instanceof TransctLink))
      return false; 
    TransctLink other = (TransctLink)o;
    if (!other.canEqual(this))
      return false; 
    Object this$linkId = getLinkId(), other$linkId = other.getLinkId();
    if ((this$linkId == null) ? (other$linkId != null) : !this$linkId.equals(other$linkId))
      return false; 
    Object this$xy = getXy(), other$xy = other.getXy();
    if ((this$xy == null) ? (other$xy != null) : !this$xy.equals(other$xy))
      return false; 
    Object this$begin = getBegin(), other$begin = other.getBegin();
    if ((this$begin == null) ? (other$begin != null) : !this$begin.equals(other$begin))
      return false; 
    Object this$end = getEnd(), other$end = other.getEnd();
    if ((this$end == null) ? (other$end != null) : !this$end.equals(other$end))
      return false; 
    Object this$flowId = getFlowId(), other$flowId = other.getFlowId();
    if ((this$flowId == null) ? (other$flowId != null) : !this$flowId.equals(other$flowId))
      return false; 
    Object this$uid = getUid(), other$uid = other.getUid();
    if ((this$uid == null) ? (other$uid != null) : !this$uid.equals(other$uid))
      return false; 
    Object this$createTime = getCreateTime(), other$createTime = other.getCreateTime();
    if ((this$createTime == null) ? (other$createTime != null) : !this$createTime.equals(other$createTime))
      return false; 
    Object this$updateTime = getUpdateTime(), other$updateTime = other.getUpdateTime();
    return !((this$updateTime == null) ? (other$updateTime != null) : !this$updateTime.equals(other$updateTime));
  }
  
  protected boolean canEqual(Object other) {
    return other instanceof TransctLink;
  }

}
